#ifndef AVALON_UIDSERVICEEXCEPTION_HPP
#define AVALON_UIDSERVICEEXCEPTION_HPP
#include <stdexcept>
#include "Avalon/UidService/UidService.hpp"

namespace Avalon {
namespace UidService {

  /*! \class UidServiceException
   *  \brief Indicates an exception in the UidServer or UidClient.
   *  \author Kamal Mansouri <kranar@hotmail.com>
   */
  class UidServiceException : public std::runtime_error,
      public boost::exception {
    public:

      //! Constructs a UidServiceException.
      /*!
        \param message A message describing the error.
      */
      UidServiceException(const std::string& message);

      virtual ~UidServiceException() throw();
  };
}
}

#endif // AVALON_UIDSERVICEEXCEPTION_HPP
